package com.daidai.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Author: Mr.Chen
 * Date: 2022/07/31 15:41
 * Description: 新闻
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class News {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String title;
    private String description;
    @TableField("createtime")
    private String createTime;
}
